package com.example.springbott.bean.zeng;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
public class AdminGoodsListVo<T>{
    private Integer total;
    private Integer pages;
    private Integer limit;
    private Integer page;
    private List<T> list;

    public AdminGoodsListVo(Integer total, Integer pages, Integer limit, Integer page, List<T> list) {
        this.total = total;
        this.pages = pages;
        this.limit = limit;
        this.page = page;
        this.list = list;
    }
}
